/* ==========================================================================
   FOOTER — dark: brand + 3 nav columns + credits bar   (global)
   ==========================================================================
   Footer type: "dark — brand + 3 nav columns + credits bar".

   Markup (html frontend module):
     #footer .inside
       > .footer_top.row
           > .col-1-3            (brand logo + optional blurb)
           > .col-2-3.row > 3× .col-1-3   (each {{insert_module}} → footer nav)
       > .footer_bottom > .credits   (copyright · policy nav · studio credit)

   Columns come from the framework (.row / .col-1-3); this file only brands the
   footer: the dark surface, the on-dark type, and the vertical nav columns.

   Colours are tokens from website.css. The footer sits on var(--prime); on-dark
   text has no dedicated token, so it uses white at reduced alpha. Swap the
   background per site if --prime is not a dark colour.

   NOTE — nav resets: header_dropdown_nav_simple.css styles .mod_navigation
   GLOBALLY (inline-block items, wide padding, a dark hover pill). Those suit
   the header bar, not a footer column, so the nav rules below re-scope the
   footer's menus to a plain vertical list on the dark surface.
   ========================================================================== */

#footer {
    background-color: var(--grey-dark);
    color: rgba(255, 255, 255, 0.72);
}
#footer .inside { padding-block: var(--space-60) var(--space-40); }

/* ---- Top: brand + nav columns ------------------------------------------- */
#footer .footer_top { align-items: start; }
#footer .footer_top a { border-bottom: 0; }
#footer .footer_top img { display: block; height: auto; margin-bottom: 1em; }
#footer .footer_top p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    max-width: 22em;
}

/* Column headings — the footer nav modules render their headline here; keep it
   white, not on-dark dim. */
#footer .footer_top h2,
#footer .footer_top h3,
#footer .footer_top h4,
#footer .footer_top .headline {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.9em;
}

/* Nav lists — reset the global simple-nav look for the footer's columns. */
#footer .mod_navigation ul,
#footer .mod_customnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer .mod_navigation li { display: block; margin-bottom: 0.6em; }
#footer .mod_navigation a,
#footer .mod_customnav a {
    display: inline-block;
    padding: 0;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    font-weight: 400;
}
#footer .mod_navigation li:hover > a,
#footer .mod_navigation li:focus-within > a,
#footer .mod_navigation a:hover,
#footer .mod_customnav a:hover {
    background: transparent;
    color: var(--second);
}

/* ---- Bottom: fine print + policy links + credit ------------------------- */
#footer .footer_bottom {
    margin-top: var(--space-40);
    padding-top: var(--space-24);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#footer .footer_bottom .credits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em 1.5em;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8125rem;
}
#footer .footer_bottom .bottom-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 0;
    padding: 0;
    list-style: none;
}
#footer .footer_bottom .bottom-footer-nav li { margin: 0; }
#footer .footer_bottom a {
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.55);
}
#footer .footer_bottom a:hover { color: var(--second); }
/* "Cookie settings" reopens the cookie banner: <span class="cookie-settings">
   {{cookiebar::show::Cookie settings}}</span> after the policy nav (the
   insert tag renders a link, a.ccb-trigger). A visitor must be able to change
   their choice as easily as they gave it. */
#footer .footer_bottom .cookie-settings a { color: inherit; }

/* ---- Responsive --------------------------------------------------------- */
@media only screen and (max-width: 750px) {
    #footer .footer_bottom .credits { justify-content: flex-start; }
}
